<template>
    <div class="sdy-search-list">
        <ul>
            <li
            v-for="item in searchList"
            :key="item.proid">
            {{ item.proname }}
            </li>
        </ul>
    </div>

</template>

<script setup lang="ts">

import { inject } from 'vue'

//导入相关 ts 接口
import type { MyHotItem  } from '@/config/interface';

const searchList = inject<MyHotItem[]>('searchList')

</script>

<style setup lang="scss"></style>